package org.telegram.bot.service;

import org.telegram.bot.domain.BotMenu;

import java.util.List;

/**
 * Bot菜单Service接口
 *
 * @author wyx
 * @date 2023-05-31
 */
public interface IBotMenuService
{
    /**
     * 查询Bot菜单
     *
     * @param id Bot菜单主键
     * @return Bot菜单
     */
    public BotMenu selectBotMenuById(Long id);

    /**
     * 查询Bot菜单列表
     *
     * @param botMenu Bot菜单
     * @return Bot菜单集合
     */
    public List<BotMenu> selectBotMenuList(BotMenu botMenu);

    /**
     * 新增Bot菜单
     *
     * @param botMenu Bot菜单
     * @return 结果
     */
    public int insertBotMenu(BotMenu botMenu);

    /**
     * 修改Bot菜单
     *
     * @param botMenu Bot菜单
     * @return 结果
     */
    public int updateBotMenu(BotMenu botMenu);

    /**
     * 批量删除Bot菜单
     *
     * @param ids 需要删除的Bot菜单主键集合
     * @return 结果
     */
    public int deleteBotMenuByIds(Long[] ids);
}
